var r,s;
s=ds_list_size(global.history)
if s>0
{

ds_list_delete(global.history,s-1)
r=ds_list_find_value(global.history,ds_list_size(global.history)-1);
room_goto(r);
}

